﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DDF.Data.Providers;
using DDF.Data;
using System.Data;
using System.Data.SqlClient;
using ARR.Entities.Gateways;

namespace ARR.DataModel.Repositories
{
    public static partial class HistoryRepository
    {
        public static void InsertFromTempHistoryDetails()
        {
            using (Database database = new SqlDataProvider(connString, "{0}Cursor", "dbo"))
            {
                database.Timeout = 300;

                database.NewCommand("History_InsertFromTempHistoryDetails", CommandType.StoredProcedure);
                database.ExecuteNonQuery();
            }
        }
    }
}
